package hunter20240515_2;

public class Dog extends Animal {
    public Dog() {

    }

    public Dog(String name, int age) {
        super(name, age);
    }


    @Override
    public void drink() {
        System.out.println(getName() + "喝水水");
    }

    @Override
    public void eat() {
        System.out.println(getName() + "吃骨头");
    }
}
